<?php

// 本类由系统自动生成，仅供测试用途

namespace Home\Controller;

// use Think\Controller;
class IndexController extends BaseController {

    public function index() {
        $this->display();
    }

    public function test() {
        $result = $this->get_wx_menu();
        
        print_r($result);
    }
    
    public function test1(){
        
        $Amod = M("App");
        
        $data = $Amod->where("id=".$_SESSION["app"]["id"])->getField("welcomes");
    
        echo $data;
        
    }

}